﻿using System.Collections.Generic;

namespace Volunteering.model {
  public class Speciality {
    public string Name { get; }
    public string Discipline { get; }
    public string Major { get; }
    public HashSet<Subjects> MainSubjects { get; }
    public HashSet<Subjects> ExtSubjects { get; }
    public Subjects? EssentialSubject { get; }

    public Speciality(string name, string discipline, string major, HashSet<Subjects> mainSubjects, HashSet<Subjects> extSubjects, Subjects? essentialSubject = null) {
      Name = name;
      Discipline = discipline;
      Major = major;
      MainSubjects = mainSubjects;
      ExtSubjects = extSubjects;
      EssentialSubject = essentialSubject;
    }
  }

  public enum Subjects {
    物理, 历史, 政治, 地理, 化学, 生物
  }
}
